package com.wgo.bpot.persist.db4object;

//import static javax.persistence.TemporalType.TIMESTAMP;

import java.util.Date;

import com.wgo.bpot.domain.common.impl.BpotPersistableImpl;
import com.wgo.bpot.server.persist.UniqueValue;


public class UniqueValueImpl extends BpotPersistableImpl implements UniqueValue {
	private String entityType;
	private long nextValue;
	private Date lastUpdated;
	
	@Override
	public Long getIdentifier() {
		return super.getIdentifier();
	}
	
	public Date getLastUpdated() {
		return lastUpdated;
	}
	
	public void setLastUpdated(Date lastUpdated) {
		this.lastUpdated = lastUpdated;
	}

	public String getEntityType() {
		return entityType;
	}

	public void setEntityType(String entityType) {
		this.entityType = entityType;
	}

	public long getNextValue() {
		return nextValue;
	}

	public void setNextValue(long nextValue) {
		this.nextValue = nextValue;
	}
	
	public boolean equals(Object obj) {
		return super.equals(obj);
	}

}
